package com.cssy.xxkj.basic.service;

import java.util.List;
import java.util.Map;

import javax.servlet.http.HttpServletRequest;

import org.springframework.transaction.annotation.Transactional;

import com.cssy.base.service.IBaseService;
import com.cssy.xxkj.basic.entity.BasicProductBomDO;
import com.cssy.xxkj.basic.entity.BasicProductBomMaterialsDO;
import com.cssy.xxkj.basic.entity.BasicProductBomProcessDO;
import com.plat.exception.SyBaseException;
import com.plat.helper.SearchResult;

public interface IBasicMaterialsBomService extends IBaseService<BasicProductBomDO>{
	@Transactional
    public void bomSave(HttpServletRequest request,BasicProductBomDO curAP)throws SyBaseException;
	
	public SearchResult materList(BasicProductBomMaterialsDO basicProductBomMaterialsDO)throws SyBaseException;
	
	public SearchResult processList(BasicProductBomProcessDO basicProductBomProcessDO)throws SyBaseException;
	
	public Map<String, String> findProductionBomToMap(Map<String, Object> paramMap)throws SyBaseException;
	
	public Map<String, List<String>> findProductionBomMaterToMap(Map<String, Object> paramMap)throws SyBaseException;
}
